package com.xkdx.caipiao.view;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ListView;

import com.xkdx.caipiao.R;
import com.xkdx.caipiao.application.MyApplication;
import com.xkdx.caipiao.wiget.FlipperLayout.OnOpenListener;

public class Front {
	private MyApplication mApplication;
	private Context mContext;
	private View front;
	private OnOpenListener mOnOpenListener;
	private onChangeViewListener mOnChangeViewListener;
	public Front(MyApplication application, Context context) {
		mApplication = application;
		mContext = context;
		front = LayoutInflater.from(context).inflate(R.layout.activity_setup_caipiao,
				null);

	}

	public View getView() {
		return front;
	}

	public interface onChangeViewListener {
		public abstract void onChangeView(int arg0);
	}

	public void setOnChangeViewListener(
			onChangeViewListener onChangeViewListener) {
		mOnChangeViewListener = onChangeViewListener;
	}
}
